package StudentSystem;

/**
 * @Description
 * @Author:PrinceHan
 * @CreateTime:2021/11/29 14:39
 */
public class Student {
        private String name;
        private String major;
        private String gender;
        private int age;

        public Student() {
        }

        public Student(String name, String major, String gender, int age) {
                this.name = name;
                this.major = major;
                this.gender = gender;
                this.age = age;
        }

        public String getName() {
                return name;
        }

        public String getMajor() {
                return major;
        }

        public String getGender() {
                return gender;
        }

        public int getAge() {
                return age;
        }

        public void setName(String name) {
                this.name = name;
        }

        public void setMajor(String major) {
                this.major = major;
        }

        public void setGender(String gender) {
                this.gender = gender;
        }

        public void setAge(int age) {
                this.age = age;
        }
}
